export const column = [
    {
        label: "序号",
        type: "index",
        width: 50,
        align: "center"
    },
    {
        label: "表格头1", // 表格标题头
        prop: "date", // 数据字段
        // width: 200, // 表格宽度
        align: "center", // 对齐方式 默认（left）
        minWidth: 100,
        filters: [{ text: '2016-05-01', value: '2016-05-01' }, { text: '2016-05-02', value: '2016-05-02' }, { text: '2016-05-03', value: '2016-05-03' }, { text: '2016-05-04', value: '2016-05-04' }],
        'filter-method': (value, row) => {
            return row.date == value
        },
    },
    {
        label: "表格头2",
        prop: "address",
        // width: 500,
        align: "center",
        render: (h, { row }) => {
            return h('span', row.address + row.add)
        }
    },
    {
        label: "表格头3",
        prop: "add",
        width: 200,
        align: "center",
        sortable: true,
        isSlot: true,
    },
    {
        label: "表格头4",
        prop: "name",
        width: 200,
        align: "center"
    },
    {
        label: "操作",
        prop: "operate",
        width: 200,
        isSlot: true
    }
]

export const tableDataList = [
    {
        date: "2016-05-02",
        name: "1",
        address: "上海市普陀区金沙江路 1518 弄",
        add: 1
    },
    {
        date: "2016-05-04",
        name: "2",
        address: "上海市普陀区金沙江路 1517 弄",
        add: 2
    },
    {
        date: "2016-05-01",
        name: "3",
        address: "上海市普陀区金沙江路 1519 弄",
        add: 1
    },
    {
        date: "2016-05-02",
        name: "4",
        address: "上海市普陀区金沙江路 1518 弄",
        add: 1
    },
    {
        date: "2016-05-04",
        name: "5",
        address: "上海市普陀区金沙江路 1517 弄",
        add: 2
    },
    {
        date: "2016-05-01",
        name: "6",
        address: "上海市普陀区金沙江路 1519 弄",
        add: 1
    },
    {
        date: "2016-05-02",
        name: "7",
        address: "上海市普陀区金沙江路 1518 弄",
        add: 1
    },
    {
        date: "2016-05-04",
        name: "8",
        address: "上海市普陀区金沙江路 1517 弄",
        add: 2
    },
    {
        date: "2016-05-01",
        name: "9",
        address: "上海市普陀区金沙江路 1519 弄",
        add: 1
    },
    {
        date: "2016-05-02",
        name: "10",
        address: "上海市普陀区金沙江路 1518 弄",
        add: 1
    },
    {
        date: "2016-05-04",
        name: "11",
        address: "上海市普陀区金沙江路 1517 弄",
        add: 2
    },
    {
        date: "2016-05-01",
        name: "12",
        address: "上海市普陀区金沙江路 1519 弄",
        add: 1
    },
    {
        date: "2016-05-02",
        name: "13",
        address: "上海市普陀区金沙江路 1518 弄",
        add: 1
    },
    {
        date: "2016-05-04",
        name: "14",
        address: "上海市普陀区金沙江路 1517 弄",
        add: 2
    },
    {
        date: "2016-05-01",
        name: "15",
        address: "上海市普陀区金沙江路 1519 弄",
        add: 1
    },
    {
        date: "2016-05-02",
        name: "16",
        address: "上海市普陀区金沙江路 1518 弄",
        add: 1
    },
    {
        date: "2016-05-04",
        name: "17",
        address: "上海市普陀区金沙江路 1517 弄",
        add: 2
    },
    {
        date: "2016-05-01",
        name: "18",
        address: "上海市普陀区金沙江路 1519 弄",
        add: 1
    },
    {
        date: "2016-05-02",
        name: "19",
        address: "上海市普陀区金沙江路 1518 弄",
        add: 1
    },
    {
        date: "2016-05-04",
        name: "20",
        address: "上海市普陀区金沙江路 1517 弄",
        add: 2
    },
    {
        date: "2016-05-01",
        name: "21",
        address: "上海市普陀区金沙江路 1519 弄",
        add: 1
    },
]